home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / msdl / example.lha / example-scenes / gents-toilet.lha / gents-toilet.msdl
Encoding:
Text File  |  1993-11-03  |  9.1 KB  |  715 lines

  1.  
  2.                      /*           gents.dat               */
  3.  
  4.         /*   THIS IS A SCENE WHICH DESCRIBES THE GENTS TOILETS ON THE */
  5.                /* GROUND FLOOR OF THE COMPUTER SCIENCE BUILDING */ 
  6. /* This file is possibly a bit messed up. We've included it only because */
  7. /* we don't think anyone has ever done a model of some toilets, and the */
  8. /* world of computer graphics is crying out for it! If you think you can */
  9. /* spot whats wrong with the model then let us know, and we'll try to fix it*/
  10.  
  11.     /*   anything enclosed by forward slash and stars requires setting  */
  12.  
  13.         view
  14.              from       0   0   170
  15.              towards    220 170 170
  16.              up         0   0   -11
  17.          window 0 0 0 0
  18.         end 
  19.  
  20.  
  21. defprops
  22.         honeydew               
  23.           drc     0.9412  1.0000  0.9412
  24.       src       0.7     0.7   0.7
  25.           phexp  70
  26. end
  27.  
  28.  
  29.  
  30. defprops                             
  31.         slategreydark
  32. /*             drc       0.1843 0.3098 0.309 */
  33.     drc 0.7 0.7 0.7
  34.        src       0.5     0.5   0.5
  35.            phexp  30
  36. end
  37.  
  38.  
  39.  
  40. defprops                         
  41.         indigo
  42.            drc       0.0300 0.1800 0.3300     
  43.        src 0.5 0.5 0.5
  44.         phexp  20
  45.            /*texture file breezeblock*/
  46. end
  47.  
  48.  
  49.  
  50. defprops                         
  51.         mintcream
  52.            drc       0.9608 1.0000 0.9804     
  53.        src       0.7     0.7   0.7
  54.            phexp  70
  55. end
  56.  
  57.  
  58.  
  59. defprops
  60.         antiquewhite               
  61.            drc     0.5  0.5  0.5 
  62.        src       0.7     0.7   0.7
  63.            phexp  10
  64.            /*texture file tile*/
  65. end
  66.  
  67.  
  68.  
  69. defprops                        
  70.         silver
  71.            drc       0.3   0.3   0.3     
  72.        src       0.7     0.7   0.7
  73.        phexp  40
  74. end
  75.  
  76.  
  77.  
  78. defobj unitcube 
  79.    box 
  80.       0 0 0
  81.       1 1 1
  82.    end
  83. end
  84.  
  85.  
  86.  
  87. defobj floor
  88.  
  89.    polygon  
  90.            7
  91.            480 361 0
  92.            419 361 0
  93.            419 422 0
  94.            0   422 0
  95.            0   0   0
  96.            480 0   0
  97.            480 270 0
  98.            instprops slategreydark
  99.    end 
  100.  
  101. end      
  102.  
  103.  
  104. defobj ceiling
  105.  
  106.    polygon  
  107.            7
  108.            480 270 0
  109.            480 0   0
  110.            0   0   0
  111.            0   422 0
  112.            419 422 0
  113.            419 361 0
  114.            480 361 0
  115.            instprops antiquewhite
  116.    end 
  117.  
  118. end      
  119.  
  120.  
  121.  
  122. defobj backwall
  123.  
  124.    polygon
  125.            4 
  126.            419 422 240
  127.            0   422 240
  128.            0   422 150
  129.            419 422 150
  130.            instprops indigo
  131.    end
  132.    
  133.  
  134.    polygon
  135.            4
  136.            419 422 150
  137.            0   422 150
  138.            0   422 0
  139.            419 422 0
  140.            instprops slategreydark
  141.    end
  142.  
  143. end
  144.  
  145.  
  146.    
  147. defobj leftwall
  148.  
  149.    polygon
  150.            4
  151.            0 422 240
  152.            0 0   240
  153.            0 0   150
  154.            0 422 150
  155.            instprops indigo
  156.    end
  157.    
  158.  
  159.    polygon
  160.            4
  161.            0 422 150
  162.            0 0   150
  163.            0 0   0
  164.            0 422 0
  165.            instprops slategreydark
  166.    end
  167.  
  168. end 
  169.  
  170.  
  171.  
  172. defobj rightwall
  173.  
  174.       polygon
  175.               4
  176.               480 0   240
  177.               480 270 240
  178.               480 270 150
  179.               480 0   150
  180.               instprops indigo
  181.       end
  182.       
  183.  
  184.       polygon
  185.               4
  186.               480 0   150
  187.               480 270 150
  188.               480 270 0
  189.               480 0   0
  190.               instprops slategreydark
  191.       end
  192.  
  193. end
  194.  
  195.  
  196.  
  197. defobj cubicalwall 
  198.  
  199.    polygon
  200.           4 
  201.           380 152 240
  202.           220 152 240
  203.           220 152 150
  204.           380 152 150
  205.           instprops indigo
  206.    end
  207.    
  208.  
  209.    polygon
  210.           4
  211.           380 152 150
  212.           220 152 150
  213.           220 152 0
  214.           380 152 0
  215.           instprops slategreydark
  216.    end 
  217.  
  218. end
  219.  
  220.  
  221.  
  222. defobj cubicalwallend
  223.  
  224.    polygon
  225.           4
  226.           220 152 240
  227.           220 160 240
  228.           220 160 150
  229.           220 152 150
  230.           instprops indigo
  231.    end
  232.    
  233.  
  234.    polygon
  235.           4
  236.           220 152 150
  237.           220 160 150
  238.           220 160 0
  239.           220 152 0
  240.           instprops slategreydark
  241.    end
  242.  
  243. end
  244.  
  245.  
  246.  
  247. defobj toiletdoor1
  248.  
  249.    instobj unitcube
  250.       instprops silver 
  251.       scale 3 6 6
  252.       shift 219 170 100
  253.    end
  254.    
  255.  
  256.    polygon 4
  257.            222 234 8
  258.            222 160 8
  259.            222 160 198
  260.            222 234 198
  261.            instprops mintcream
  262.    end
  263.    
  264. end
  265.  
  266.  
  267.  
  268. defobj division1
  269.  
  270.    polygon 4
  271.            220 250 8      
  272.            220 234 8
  273.            220 234 198
  274.            220 250 198
  275.            instprops mintcream
  276.    end
  277.    
  278.  
  279.    polygon 4
  280.            220 234 8
  281.            222 234 8
  282.            222 234 198
  283.            220 234 198
  284.            instprops mintcream
  285.    end
  286.                
  287. end
  288.  
  289.  
  290.  
  291. defobj toiletdoor2 
  292.    instobj toiletdoor1
  293.       shift 0 90 0
  294.    end
  295. end
  296.  
  297.  
  298.  
  299. defobj division2
  300.    instobj division1
  301.       shift 0 90 0
  302.    end
  303. end
  304.  
  305.  
  306.  
  307. defobj  toiletdoor3 
  308.    instobj toiletdoor2
  309.       shift 0 90 0
  310.    end
  311. end
  312.  
  313.  
  314.  
  315. defobj enddivision 
  316.  
  317.    polygon
  318.            4
  319.            220 422 8
  320.            220 414 8
  321.            220 414 198
  322.            220 422 198
  323.            instprops mintcream
  324.    end
  325.    
  326.  
  327.    polygon 4
  328.            220 414 8
  329.            222 414 8
  330.            222 414 198
  331.            220 414 198
  332.            instprops mintcream
  333.    end
  334.  
  335. end  
  336.  
  337.  
  338.  
  339. defobj urinal
  340.  
  341.    polygon
  342.            6
  343.            0 36 60
  344.            0 44 60
  345.            0 44 0
  346.            0 0  0
  347.            0 0  10
  348.            0 36 10
  349.            instprops honeydew
  350.    end
  351.    
  352.  
  353.    polygon
  354.            8
  355.            30 36 60
  356.            0  36 60
  357.            0  36 10 
  358.            2  36 10
  359.            2  36 58
  360.            28 36 58
  361.            28 36 10
  362.            30 36 10
  363.            instprops honeydew
  364.    end
  365.    
  366.  
  367.    polygon
  368.            8
  369.            30 36 10
  370.            28 36 10
  371.            28 2  10
  372.            2  2  10 
  373.            2  36 10
  374.            0  36 10
  375.            0  0  10
  376.            30 0  10
  377.            instprops honeydew
  378.    end
  379.    
  380.  
  381.    polygon
  382.            4
  383.            30 0 10
  384.            0  0 10
  385.            0  0 0
  386.            30 0 0
  387.            instprops honeydew           
  388.    end
  389.    
  390.  
  391.    polygon
  392.            6
  393.            30 44 60
  394.            30 36 60
  395.            30 36 10
  396.            30 0  10
  397.            30 0  0
  398.            30 44 0
  399.            instprops honeydew           
  400.    end
  401.    
  402.  
  403.    polygon
  404.            4
  405.            30 44 60
  406.            0  44 60
  407.            0  36 60
  408.            30 36 60
  409.            instprops honeydew           
  410.    end
  411.    
  412.  
  413.    polygon
  414.            4
  415.            28 42 58
  416.            2  42 58
  417.            2  42 0
  418.            28 42 0
  419.            instprops honeydew           
  420.    end
  421.    
  422.  
  423.    polygon
  424.            4
  425.            28 42 0
  426.            2  42 0
  427.            2  2  0
  428.            28 2  0
  429.            instprops honeydew           
  430.    end
  431.    
  432.  
  433.    polygon
  434.            6
  435.            28 2  10
  436.            28 36 10
  437.            28 36 58
  438.            28 42 58
  439.            28 42 0
  440.            28 2  0
  441.            instprops honeydew           
  442.    end
  443.    
  444.  
  445.    polygon
  446.            6
  447.            2 42 58
  448.            2 36 58
  449.            2 36 10
  450.            2 2  10
  451.            2 2  0
  452.            2 42 0
  453.            instprops honeydew           
  454.    end
  455.  
  456. end
  457.  
  458.  
  459. defobj urinal1
  460.    instobj urinal
  461.       rotate z 90
  462.       shift 44 46 55
  463.    end
  464. end
  465.  
  466.  
  467.  
  468. defobj urinal2
  469.    instobj urinal1
  470.       shift 0 60 0
  471.    end
  472. end
  473.  
  474.  
  475.  
  476. defobj urinal3
  477.    instobj urinal2
  478.       shift 0 60 0
  479.    end
  480. end
  481.  
  482.  
  483.  
  484. defobj urinal4
  485.    instobj urinal3
  486.       shift 0 60 0
  487.    end
  488. end
  489.  
  490.  
  491.  
  492. defobj urinal5
  493.    instobj urinal4
  494.       shift 0 60 0
  495.    end
  496. end
  497.  
  498.  
  499.  
  500. defobj urinal6
  501.    instobj urinal5
  502.       shift 0 60 0
  503.    end
  504. end
  505.  
  506.  
  507.  
  508. defobj cistern
  509.  
  510.    instobj unitcube
  511.       instprops honeydew                 
  512.       scale 20 46 24
  513.    end
  514.  
  515. end
  516.  
  517.  
  518.  
  519. defobj pipe1
  520.  
  521.    cylinder 2 59 85
  522.             2 59 95
  523.             2
  524.             instprops silver
  525.    end
  526.  
  527. end
  528.  
  529.  
  530.  
  531. defobj pipe2
  532.  
  533.    instobj pipe1
  534.       shift 0 60 0
  535.    end
  536.  
  537. end
  538.  
  539.  
  540.  
  541. defobj pipe3
  542.  
  543.    instobj pipe2
  544.       shift 0 60 0
  545.    end
  546.  
  547. end
  548.  
  549.  
  550.  
  551. defobj pipe4
  552.  
  553.    instobj pipe3
  554.       shift 0 60 0
  555.    end
  556.  
  557. end
  558.  
  559.  
  560.  
  561. defobj pipe5
  562.  
  563.    instobj pipe4
  564.       shift 0 60 0
  565.    end
  566.  
  567. end
  568.  
  569.  
  570.  
  571. defobj pipe6
  572.  
  573.    instobj pipe5
  574.       shift 0 60 0
  575.    end
  576.  
  577. end
  578.  
  579.  
  580.  
  581. defobj pipes
  582.  
  583.    instobj pipe1
  584.    end
  585.    
  586.  
  587.    instobj pipe2
  588.    end
  589.    
  590.  
  591.    instobj pipe3
  592.    end
  593.    
  594.  
  595.    instobj pipe4
  596.    end
  597.    
  598.  
  599.    instobj pipe5
  600.    end
  601.    
  602.  
  603.    instobj pipe6
  604.    end
  605.    
  606.  
  607.    cylinder 2 211 129
  608.             2 211 196
  609.             2
  610.             instprops silver
  611.    end
  612.    
  613.  
  614.    cylinder 2 59  127
  615.             2 378 127
  616.             2
  617.             instprops silver
  618.    end
  619.  
  620. end
  621.  
  622.  
  623.  
  624.    instobj floor name Floor
  625.    end 
  626.    
  627.  
  628.    instobj backwall name Backwall
  629.    end
  630.    
  631.    
  632.    instobj leftwall name Leftwall
  633.    end
  634.    
  635.  
  636.    instobj rightwall name Rightwall
  637.    end
  638.  
  639.    instobj cubicalwall name Cubicalwall
  640.    end
  641.    
  642.  
  643.    instobj cubicalwallend name Cubicalwallnd
  644.    end
  645.    
  646.  
  647.    instobj ceiling name Ceiling
  648.       shift 0 0 240
  649.    end
  650.    
  651.  
  652.    instobj toiletdoor1 name tdoor1
  653.    end
  654.  
  655.    instobj division1 name div1
  656.    end
  657.    
  658.  
  659.    instobj toiletdoor2 name tdoor2
  660.    end
  661.  
  662.    instobj division2 name div2
  663.    end
  664.    
  665.  
  666.    instobj toiletdoor3 name tdoor3
  667.    end
  668.  
  669.    instobj enddivision name enddiv
  670.    end  
  671.  
  672.    instobj pipes name pipes
  673.    end
  674.    
  675.  
  676.    instobj urinal1 name urinal1
  677.    end
  678.    
  679.  
  680.    instobj urinal2 name urinal2
  681.    end
  682.    
  683.  
  684.    instobj urinal3 name urinal3
  685.    end
  686.    
  687.  
  688.    instobj urinal4 name urinal4
  689.    end
  690.    
  691.  
  692.    instobj urinal5 name urinal5
  693.    end
  694.    
  695.  
  696.    instobj urinal6 name urinal6
  697.    end
  698.    
  699.  
  700.    instobj cistern name cistern
  701.       shift 0 188 196
  702.    end 
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.